package engine.game;

import java.io.Serializable;

import engine.graphics.IRender;
import engine.input.IInput;
import engine.objects.GameObjects;
import engine.system.IInit;

public abstract class Level implements IInit, IRender, IInput, Serializable {

	private static final long serialVersionUID = 1L;

	public final int WIDTH, HEIGHT ; 	
	
	protected Game game ; 
	protected GameObjects gameObjects ;
	
	public Level(Game g, final int width, final int height){
		this.game = g ; 
		this.WIDTH = width ; 
		this.HEIGHT = height ; 
	}
		
	public Game getGame(){
		return game ; 
	}
	
	public void init(){
		gameObjects = new GameObjects(); 
	}
	
	public abstract void initGUI(); 
	
	public void initGame(Game g){
		this.game = g ; 
	}
	
}
